﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.LyModel
{
    /// <summary>
    /// 报废报损工单表
    /// </summary>
    [Table("T_ScrapLossOrder")]
    public class ScrapLossOrder:BaseEntity
    {
        [StringLength(30)]
        public string OperatorName { get; set; }    // 盘点员姓名
        [StringLength(30)]
        public string EquipmentName { get; set; }   // 设备名称
        [StringLength(30)]
        public string ScrapLossType { get; set; }   // 报废/报损类型
        public int ScrapLossAmount { get; set; }    // 报废报损数量
        public decimal ScrapLossValue { get; set; } // 报废报损金额
        public DateTime ScrapLossDate { get; set; } // 报废报损日期
        [StringLength(30)]
        public string Department { get; set; }      // 设备所属部门
        public bool Approved { get; set; }          // 是否已审批
    }
}
